<?php
namespace Nawa\MedicalStudy\MedicalCenter\Monitoring\Interview;
/**
 * Monitoring Available Surveys
 *
 * It represant a link between a survey and the monitorings
 *
 * @author Xavier VILAIN
 * @package Nawa\MedicalStudy\MedicalCenter\Monitoring
 *
 * @property int	$interview_type	Id
 * @property string	$language		Language
 * @property int 	$label			Label
 */
class Type extends \Fox\Object\Customizing {

	/**
	 * Reverve Link to the monitoring available survey object
	 * @var string
	 */
	const LINK_MONITORING = 'monitoring';

	
}
\Fox\Dao::infos(Type::className(),new \Fox\Object\Info('ms_mc_monitoring_interview_types', \Fox\Databases::DB_APP));

// Link to i18n elements
\Fox\Object\Links::add(\Fox\Dao::link(Type\I18n::className(),Type\I18n::LINK_REFERENCE)
->to(Type::className(), Type::LINK_I18N)
->on('interview_type')
->versionFrom());